package com.example.forum.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Setter
@Getter
@ApiModel(value="菜单")
public class MenuModel implements Serializable {

    @NotBlank(message = "菜单名称不能为空")
    @ApiModelProperty(value="菜单显示名称")
    private String Name;

    @ApiModelProperty(value="URL")
    private String Url ;

    @ApiModelProperty(value="数据")
    private String CustomData ;

    @ApiModelProperty(value="Icon")
    private String Icon ;

    @ApiModelProperty(value="ClassName")
    private String ClassName ;

    @ApiModelProperty(value="排序")
    private Integer OrderIn ;
    @ApiModelProperty(value="PermissionTarget")
    private String PermissionTarget ;
    @ApiModelProperty(value="ParentId")
    private String ParentId ;
    @ApiModelProperty(value="Id")
    private String Id ;


}
